<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>


<div class="main colorbg1 mt10"><span class="color2 ml10">您现在的位置：</span><a href="<?php echo url('index');?>">主页</a>  <?php echo $location;?> </div>
<div class="main mt10" style="min-height: 400px">

<div class="border1 width210 fleft" style="min-height: 200px">
<div class="colorbg3"><?php echo $array_cat[$rootid]['type_name']?></div>
<ul class="lb2 mb10">
<?php foreach($menu_list as $k => $v){
            echo ' <li><a href="'.$array_cat[$v['id']]['href'].'">'.$array_cat[$v['id']]['type_name'].'</a></li>';  
}?>
</ul>
</div>
<div class="border1 width740 fright" style="min-height: 400px">
<ul class="xw3 mt20">
<?php foreach ($list as $row) {?>
      <li><a href="<?=url('/newsread', array('newsid'=>$row['id']))?>" target="_blank" title="<?php echo $row['title'];?>"><?php if(array_key_exists($row['type_id'],$array_cat)){echo '['.$array_cat[$row['type_id']]['type_name'].'] ';}?><?php echo Helper_Util::utfSubStr(stripslashes($row['title']),60);?></a> <span><?php echo date('Y-m-d', $row['release_date']);?></span><br/>
      </li>
      <?php }?>
</ul>
<div class="fright mt20 mb20 width475">
<?php $this->_control("pagination2", "", array('pagination'=>$pager,'url_args'=>array('catId'=>$catId)));?>
<div class="clear"></div>
</div>

<?$this->_endblock();?>
